package com.dkm.biz.gl.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:c6_eav_entity_rel Tbl对象
 * 开发公司:唯心六艺软件 - Craft6.cn
 * 开发人员:winston
 * 创建时间:2014-07-30 15:42:21
 */
public class EavEntityRelTbl extends AbstractPo<String>{
	protected String  id; 		/*ID*/
	protected String  name; 		/*表标题*/
	protected String  className; 		/*表类名*/
	protected String  table; 		/*物理表名*/
	protected String  relType; 		/*关联方式。direct=直连；model=通过数据模型（c6_eav_model）*/
	protected String  modelId; 		/*属性模型ID*/
	protected String  attrId; 		/*属性ID*/
	protected Integer  sort; 		/*序号*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 表标题
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setClassName(String className) 
	{
		this.className = className;
	}
	/**
	 * 返回 表类名
	 * @return
	 */
	public String getClassName() 
	{
		return this.className;
	}
	public void setTable(String table) 
	{
		this.table = table;
	}
	/**
	 * 返回 物理表名
	 * @return
	 */
	public String getTable() 
	{
		return this.table;
	}
	public void setRelType(String relType) 
	{
		this.relType = relType;
	}
	/**
	 * 返回 关联方式。direct=直连；model=通过数据模型（c6_eav_model）
	 * @return
	 */
	public String getRelType() 
	{
		return this.relType;
	}
	public void setModelId(String modelId) 
	{
		this.modelId = modelId;
	}
	/**
	 * 返回 属性模型ID
	 * @return
	 */
	public String getModelId() 
	{
		return this.modelId;
	}
	public void setAttrId(String attrId) 
	{
		this.attrId = attrId;
	}
	/**
	 * 返回 属性ID
	 * @return
	 */
	public String getAttrId() 
	{
		return this.attrId;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}
	/**
	 * 返回 序号
	 * @return
	 */
	public Integer getSort() 
	{
		return this.sort;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("name", this.name) 
		.append("className", this.className) 
		.append("table", this.table) 
		.append("relType", this.relType) 
		.append("modelId", this.modelId) 
		.append("attrId", this.attrId) 
		.append("sort", this.sort) 
		.toString();
	}
}